<!doctype html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="refresh" content="10;url=/">
        <title>502 Bad Gateway</title>
        <link rel="icon" type="image/svg+xml" href="/favicon.svg">
        <link rel="alternate icon" href="/favicon.ico">
        <style>
            body {
                margin: 10vmin 0 0 10vmin;
                font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
                    sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
                font-size: 16px;
                line-height: 1.7;
                max-width: 600px;
                color: black;
            }

            code {
                background: black;
                color: white;
                padding: 3px;
                border-radius: 3px;
            }

            .muted {
                color: #757575;
            }
        </style>
    </head>
    <body>
        <h1>🛑 502 Bad Gateway</h1>
        <p>Hold on! It's probably not that bad! 😁</p>
        <p>You probably ran into one of those scenarios:</p>
        <ol>
            <li>
                <p>You just installed or updated Arbify. In that case you will still need to run <code>docker-compose run --rm arbify docker/arbify/upgrade.sh</code></p>
            </li>
            <li>The database service is still not up. Give it a moment.</li>
            <li>
                <p>If it's none of the above, something bad probably happened. Check the status and/or logs of the docker-compose services.</p>
                <p>If you think that this issue is our fault, please <a href="https://github.com/Arbify/Arbify/issues/new">report it to us on GitHub</a> including your docker-compose logs.</p>
            </li>
        </ol>
        <p class="muted">This page will automatically refresh after 10 seconds. 👀</p>
    </body>
</html>
